package com.test.entity;

/**
 * @ClassName
 * @Description
 * @Version 1.0
 */


import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Xuesheng implements Serializable {
    private String xh; // 学号
    private String xm; // 姓名
    private String xb; // 性别
    private Date csrq; // 出生日期
    private String jg; // 籍贯
    private String lxfs; // 联系方式
    private String zydm; // 专业代码（外键，关联 Zhuanye 表 ）
    private String xq; // 兴趣

    // 立即加载的专业信息
    private Zhuanye zhuanye;
    // 按需加载的课程成绩信息
    private List<Chengji> chengjis;

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getXb() {
        return xb;
    }

    public void setXb(String xb) {
        this.xb = xb;
    }

    public Date getCsrq() {
        return csrq;
    }

    public void setCsrq(Date csrq) {
        this.csrq = csrq;
    }

    public String getJg() {
        return jg;
    }

    public void setJg(String jg) {
        this.jg = jg;
    }

    public String getLxfs() {
        return lxfs;
    }

    public void setLxfs(String lxfs) {
        this.lxfs = lxfs;
    }

    public String getZydm() {
        return zydm;
    }

    public void setZydm(String zydm) {
        this.zydm = zydm;
    }

    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    public Zhuanye getZhuanye() {
        return zhuanye;
    }

    public void setZhuanye(Zhuanye zhuanye) {
        this.zhuanye = zhuanye;
    }

    public List<Chengji> getChengjis() {
        return chengjis;
    }

    public void setChengjis(List<Chengji> chengjis) {
        this.chengjis = chengjis;
    }

    @Override
    public String toString() {
        return "Xuesheng{" +
                "xh='" + xh + '\'' +
                ", xm='" + xm + '\'' +
                ", xb='" + xb + '\'' +
                ", csrq=" + csrq +
                ", jg='" + jg + '\'' +
                ", lxfs='" + lxfs + '\'' +
                ", zydm='" + zydm + '\'' +
                ", xq='" + xq + '\'' +
                ", zhuanye=" + zhuanye  +
                '}';
    }
}